procedure GetMaxMin(dataName : Str255; rescale : boolean; var min, max : real);
Returns the minimum and maximum value of the data window. If rescale is TRUE then the data window's maximum and minimum values are updated. The whole window is searched unless there is a data ROI active.